13. Garbage Collector Optimization
Nd017 C08B L01 A12 L Garbage Collector Optimization V3
Instructor's note - At 3:15, the code listing should be:
public class BadCode : Monobehavior {
void Update()
{
Rigidbody rigid = GetComponent<Rigidbody>();
rigid.AddForce(positionX, ForceMode.VelocityChange);
}
}